/**
 * Created by mapbar_front on 2019/8/11.
 */
import React,{Component} from 'react';
import Mouse from './../../components/Mouse';

//@flow
// function add(a:string,b:string){
//     console.log('a',a);
//     console.log('b',b);
// }

class RenderProps1 extends Component{
    constructor(props){
      super(props);
    }
    handleClick=()=>{
        //add(1,2);
    }
    render(){
        console.log(this.props.doesNotExist);
        return(
            <div>
                RenderProps1
                <Mouse/>
                <div onClick={this.handleClick}>
                    add
                </div>
            </div>
        )
    }
}
export default RenderProps1;

